<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let string1 = 'hello world';
        console.log(string1.includes('world',2));
        console.log(string1.startsWith('hello'));
        console.log(string1.endsWith('hello'));
        console.log("h".padStart(5));
        console.log("h".padStart(5,'0'));
        console.log("w".padEnd(12,'he'));
        console.log("w".padEnd(12));
    </script>
</body>
</html>